package br.unicamp.mc933;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import br.unicamp.mc933.RestClient.RequestMethod;

public class InitialActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
//        RestClient restClient = new RestClient("http://mc933.lab.ic.unicamp.br:8009/route/1");
//        try {
//			restClient.Execute(RequestMethod.GET);
//			Log.i("rest", restClient.getResponse());
//		} catch (Exception e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Intent intent = new Intent();
        intent.setClass(this,RoutesActivity.class);
        startActivity(intent);
        
    }
}